//package org.jeecg.modules.demo.zhengchai.budget.controller;
//
//import org.jeecg.modules.demo.zhengchai.budget.service.BudgetService;
//import org.mockito.InjectMocks;
//import org.mockito.Mock;
//import org.springframework.http.MediaType;
//import org.springframework.test.web.servlet.MockMvc;
//import org.springframework.test.web.servlet.setup.MockMvcBuilders;
//import org.testng.annotations.Test;
//
//import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
//import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
//
//public class BudgetControllerTest {
//    private MockMvc mockMvc;
//
//    @Mock
//    private BudgetService budgetService;
//
//    @InjectMocks
//    private BudgetController budgetController;
//
//    @Test
//    public void testList() throws Exception {
//        mockMvc = MockMvcBuilders.standaloneSetup(budgetController).build();
//        mockMvc.perform(get("/budget/list")
//                        .contentType(MediaType.APPLICATION_JSON))
//                .andExpect(status().isOk());
//    }
//}
